package cn.iutils.faq.entity;

import cn.iutils.sys.entity.DataEntity;

import java.util.Date;

/**
* 回答表
* @author iutils.cn
* @version 1.0
*/
public class Answers extends DataEntity<Answers> {

    private static final long serialVersionUID = 1L;

    private Questions questions;//问题
    private String questionId;//问题编号
    private String content;//回答内容
    private String device;//设备
    private Date adoptedDate;//回答采纳时间

    private int upCount;//赞
    private int downCount;//踩

    public Answers() {
        super();
    }
    public Answers(String id){
        super(id);
    }

    public Questions getQuestions() {
        return questions;
    }

    public void setQuestions(Questions questions) {
        this.questions = questions;
    }

    public String getQuestionId() {
        return questionId;
    }

    public void setQuestionId(String questionId) {
        this.questionId = questionId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device;
    }

    public Date getAdoptedDate() {
        return adoptedDate;
    }

    public void setAdoptedDate(Date adoptedDate) {
        this.adoptedDate = adoptedDate;
    }

    public int getDownCount() {
        return downCount;
    }

    public void setDownCount(int downCount) {
        this.downCount = downCount;
    }

    public int getUpCount() {
        return upCount;
    }

    public void setUpCount(int upCount) {
        this.upCount = upCount;
    }
}
